package com.example.downloaddemo.download.aidl;

import android.os.Parcel;
import android.os.Parcelable;

import com.example.downloaddemo.download.DownloadStatusListener;
import com.example.downloaddemo.download.bean.DownloadInfo;

public class IDownloadStatusListener implements DownloadStatusListener,
		Parcelable {

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		
	}

	public static Parcelable.Creator<DownloadStatusListener> CREATOR = new Creator<DownloadStatusListener>() {

		@Override
		public DownloadStatusListener[] newArray(int size) {
			return new IDownloadStatusListener[size];
		}

		@Override
		public DownloadStatusListener createFromParcel(Parcel source) {
			return new IDownloadStatusListener();
		}
	};

	@Override
	public void onPrepare(DownloadInfo info) {

	}

	@Override
	public void onStart(DownloadInfo info) {

	}

	@Override
	public void onFailed(DownloadInfo info) {

	}

	@Override
	public void onFinished(DownloadInfo info) {

	}

	@Override
	public void onFileExisted(DownloadInfo info) {

	}

	@Override
	public void onUpdateProgress(DownloadInfo info, int progress) {
	}

}
